#-------------------------------------------------
#
# Project created by QtCreator 2013-04-22T08:50:49
#
#-------------------------------------------------

QT       -= core gui

TARGET = tenacitas_log
TEMPLATE = lib


QMAKE_CXXFLAGS +=-std=c++11
INCLUDEPATH=../../../include
LIBS=-L../../../lib
DESTDIR=../../../lib

QMAKE_LFLAGS += -Wl,-rpath, ../../../lib

DEFINES += TENACITAS_LOG_LIBRARY

SOURCES += \
    ../../../src/tenacitas_log/text_file.cpp \
    ../../../src/tenacitas_log/level.cpp

HEADERS +=\
        tenacitas_log_global.h \
    ../../../include/tenacitas_log/text_file.h \
    ../../../include/tenacitas_log/logger.h \
    ../../../include/tenacitas_log/level.h

symbian {
    MMP_RULES += EXPORTUNFROZEN
    TARGET.UID3 = 0xE962BC62
    TARGET.CAPABILITY = 
    TARGET.EPOCALLOWDLLDATA = 1
    addFiles.sources = tenacitas_log.dll
    addFiles.path = !:/sys/bin
    DEPLOYMENT += addFiles
}

unix:!symbian {
    maemo5 {
        target.path = /opt/usr/lib
    } else {
        target.path = /usr/lib
    }
    INSTALLS += target
}
